package scau.erps.entity;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

/** 
 * @author  outsider 
 * 原材料实体类 用于存储原材料相关的订单
 * */
@Table("MATERIAL")
public class Material {
	@Column
	@Id 
	private Integer id;
	@Column
	private int team_Id;
	@Column
	private String type; //M1 M2 M3 M4
	@Column
	private int number; //数量
	@Column
	private String beginTime; //下单时间 eg Y2Q3
	@Column
	private String getTime; //原材料入库时间 eg Y2Q3
	@Column
	private String payTime; //付款时间 eg Y2Q3
	@Column
	private String status;  //1.已申请 2.已入库 3.已付款
	public Material() {
		super();
	}
	public Material(int team_Id, String type, int number,
			String beginTime, String getTime, String payTime, String status) {
		super();
		this.team_Id = team_Id;
		this.type = type;
		this.number = number;
		this.beginTime = beginTime;
		this.getTime = getTime;
		this.payTime = payTime;
		this.status = status;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public int getTeam_Id() {
		return team_Id;
	}
	public void setTeam_Id(int team_Id) {
		this.team_Id = team_Id;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public int getNumber() {
		return number;
	}
	public void setNumber(int number) {
		this.number = number;
	}
	public String getBeginTime() {
		return beginTime;
	}
	public void setBeginTime(String beginTime) {
		this.beginTime = beginTime;
	}
	public String getGetTime() {
		return getTime;
	}
	public void setGetTime(String getTime) {
		this.getTime = getTime;
	}
	public String getPayTime() {
		return payTime;
	}
	public void setPayTime(String payTime) {
		this.payTime = payTime;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
}
